import request from '../utils/request'

export function save(data) {
    return request({
        url: '/member/customer/save',
        method: 'post',
        data: data
    })
}

export function update(data) {
    return request({
        url: '/member/customer/update',
        method: 'post',
        data: data
    })
}

export function list(params) {
    return request({
        url:'/member/customer/list',
        method:'get',
        params:params
    })
}

export function find(id) {
    return request({
        url:'/member/customer/find/'+id,
        method:'get',
    })
}





